MailPoet\Services\Bridge A

Total Complexity 55
Dependencies 5
Dependents 33
Total lines 339
Lines of code 213
Logical lines of code 87
Comment lines 43
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
storeKeyAndState()
A
48 10 35
processKeyCheckResult()
A
48 8 34
getAuthorizedSenderDomains()
S
60 4 14
getAuthorizedEmailAddresses()
S
65 4 9
isMailpoetSendingServiceEnabled()
S
64 3 9
buildKeyState()
S
66 3 8
isMPSendingServiceEnabled()
S
64 3 9
__construct()
S
71 2 6
storeSubscriptionType()
S
68 2 8
initApi()
S
67 2 8
updateSubscriberCount()
S
80 1 3
storePremiumKeyAndState()
S
79 1 3
checkPremiumKey()
S
72 1 6
storeMSSKeyAndState()
S
79 1 3
createAuthorizedSenderDomain()
S
70 1 6
checkMSSKey()
S
72 1 6
verifyAuthorizedSenderDomain()
S
74 1 5
getRawSenderDomainData()
S
71 1 6
createAuthorizedEmailAddress()
S
74 1 5
getApi()
S
80 1 3
pingBridge()
S
65 1 9
isPremiumKeySpecified()
S
72 1 5
isMSSKeySpecified()
S
72 1 5
invalidateMssKey()
S
67 1 8